]> dgit.raspbian.org Git - gnome-shell.git/commit
st-texture-cache: Use StContentImage to create actor contents
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 27 Feb 2019 02:18:39 +0000 (03:18 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 1 Mar 2019 17:12:52 +0000 (17:12 +0000)
commitaaf69b28989f3206779617e4e0761bb8ef71af9b
tree90d13e11f79d5ec3acb597658c805cfd1b766fad
parent0464361ca5470645995e3aeb9a113ac1d50e4b9f
st-texture-cache: Use StContentImage to create actor contents

This will allow to use resource-scale aware content that will use a preferred
size that takes in account the icon scaling and the resource scaling.

If no size is passed we should just divide the actual resource size by the
resource scale, as we assume that it's loaded with such scaling applied.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=765011
src/st/st-texture-cache.c